home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 4.4 KB | 145 lines | [TEXT/ScoM] |
- ; A template for 12 note pre-composition
-
- ; - write in your Row , Starting pitch and Pitch class numbers.
- ; - When the material has compiled to MIDIfile set pitch zones
- ; on your sequencer that you wish the rows to conform to.
- ; Most sequencers have a Transform / Logical Edit / Boolean Editor
- ; which will do this in 1 operation. Set Pitch Limit zones and
- ; transpose notes lying outside the higher limit down an octave.
-
- (setq row '(a c d f e h i g b l j k))
- (setq pitch (activate-tonality (chromatic e 5)))
- (setq pcnos '((0 2 3 5 4 7 8 6 1 11 9 10)))
-
- ; - transposition
-
- (setq row-ta (symbol-transpose 0 row))
- (setq row-tb (symbol-transpose 1 row))
- (setq row-tc (symbol-transpose 2 row))
- (setq row-td (symbol-transpose 3 row))
- (setq row-te (symbol-transpose 4 row))
- (setq row-tf (symbol-transpose 5 row))
- (setq row-tg (symbol-transpose -6 row))
- (setq row-th (symbol-transpose -5 row))
- (setq row-ti (symbol-transpose -4 row))
- (setq row-tj (symbol-transpose -3 row))
- (setq row-tk (symbol-transpose -2 row))
- (setq row-tl (symbol-transpose -1 row))
-
- (setq rowt (append row-ta row-tb row-tc row-td row-te
- row-tf row-tg row-th row-ti row-tj row-tk row-tl))
-
- ; - this should produce the same result as row-t
-
- ; - retrogression
-
- (setq row-ra (symbol-retrograde row-ta))
- (setq row-rb (symbol-retrograde row-tb))
- (setq row-rc (symbol-retrograde row-tc))
- (setq row-rd (symbol-retrograde row-td))
- (setq row-re (symbol-retrograde row-te))
- (setq row-rf (symbol-retrograde row-tf))
- (setq row-rg (symbol-retrograde row-tg))
- (setq row-rh (symbol-retrograde row-th))
- (setq row-ri (symbol-retrograde row-ti))
- (setq row-rj (symbol-retrograde row-tj))
- (setq row-rk (symbol-retrograde row-tk))
- (setq row-rl (symbol-retrograde row-tl))
-
- (setq rowr (append row-ra row-rb row-rc row-rd row-re
- row-rf row-rg row-rh row-ri row-rj row-rk row-rl))
-
- ; - inversion
-
- (setq row-ia (symbol-transpose 12 (symbol-inversion 'a row)))
- (setq row-ib (symbol-transpose 11 (symbol-inversion 'b row)))
- (setq row-ic (symbol-transpose 10 (symbol-inversion 'c row)))
- (setq row-id (symbol-transpose 9 (symbol-inversion 'd row)))
- (setq row-ie (symbol-transpose 8 (symbol-inversion 'e row)))
- (setq row-if (symbol-transpose 7 (symbol-inversion 'f row)))
- (setq row-ig (symbol-transpose 6 (symbol-inversion 'g row)))
- (setq row-ih (symbol-transpose 5 (symbol-inversion 'h row)))
- (setq row-ii (symbol-transpose 4 (symbol-inversion 'i row)))
- (setq row-ij (symbol-transpose 3 (symbol-inversion 'j row)))
- (setq row-ik (symbol-transpose 2 (symbol-inversion 'k row)))
- (setq row-il (symbol-transpose 1 (symbol-inversion 'l row)))
-
- (setq rowi (append row-ia row-ib row-ic row-id row-ie
- row-if row-ig row-ih row-ii row-ij row-ik row-il))
-
- ; - retrograde-inversion
-
- (setq row-ria
- (symbol-retrograde
- (symbol-transpose 12 (symbol-inversion 'a row))))
- (setq row-rib
- (symbol-retrograde
- (symbol-transpose 11 (symbol-inversion 'b row))))
- (setq row-ric
- (symbol-retrograde
- (symbol-transpose 10 (symbol-inversion 'c row))))
- (setq row-rid
- (symbol-retrograde
- (symbol-transpose 9 (symbol-inversion 'd row))))
- (setq row-rie
- (symbol-retrograde
- (symbol-transpose 8 (symbol-inversion 'e row))))
- (setq row-rif
- (symbol-retrograde
- (symbol-transpose 7 (symbol-inversion 'f row))))
- (setq row-rig
- (symbol-retrograde
- (symbol-transpose 6 (symbol-inversion 'g row))))
- (setq row-rih
- (symbol-retrograde
- (symbol-transpose 5 (symbol-inversion 'h row))))
- (setq row-rii
- (symbol-retrograde
- (symbol-transpose 4 (symbol-inversion 'i row))))
- (setq row-rij
- (symbol-retrograde
- (symbol-transpose 3 (symbol-inversion 'j row))))
- (setq row-rik
- (symbol-retrograde
- (symbol-transpose 2 (symbol-inversion 'k row))))
- (setq row-ril
- (symbol-retrograde
- (symbol-transpose 1 (symbol-inversion 'l row))))
-
- (setq rowri (append row-ria row-rib row-ric row-rid row-rie
- row-rif row-rig row-rih row-rii row-rij row-rik row-ril))
-
- (def-symbol
- voicet rowt
- voicer rowr
- voicei rowi
- voiceri rowri
- )
-
- (def-length
- voicet '(1/8)
- voicer '(1/8)
- voicei '(1/8)
- voiceri '(1/8)
- )
-
- (def-zone
- voicet '(12/1.)
- voicer '(12/1.)
- voicei '(12/1.)
- voiceri '(12/1.)
- )
-
- (def-tonality
- voicet pitch
- voicer pitch
- voicei pitch
- voiceri pitch
- )
-
- (compile-instrument-p "ccl;output:" "tonerows"
- voicet
- voicer
- voicei
- voiceri
- )